<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>分享栏</title>
	<style>

		#div1
		{
			width: 200px;
			height: 200px;
			background: red;
			left:0px;
			top:50px;
			position:absolute;


		}

	</style>
	<script>
		window.onload=function () {
			var oDiv=document.getElementById("div1");
			var oBtn=document.getElementById("btn");
			var timer=null;
			clearInterval()
			setInterval()
			  

		};


	</script>
</head>
<body>
<input id="btn" type="button" value="开始运动"/>
<div id="div1">

</div>

</body>
</html>